import random

r = []
dict = {'1': 0, '2': 0, '3': 0, '4': 0, '5': 0, '6': 0, '7': 0, '8': 0, '9': 0, '0': 0}
for i in range(0,100):
    r.append(random.randint(0,99))
print(r)

for j in range(0,100):
    k = str(r[j]%10)
    dict[k] = dict[k]+1
print(dict)


